package org.umlviewer.model;
import java.util.UUID;

public class UMLElement {

    //nomnbre o label del elemento
    private String name="";
    //id para referenciar en el xmi
    private String id=UUID.randomUUID().toString();

    public UMLElement() {
        name = "";
        id = UUID.randomUUID().toString();
    }
    
    public UMLElement(String name, String id) {
        this.name = name;
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    
    
}
